﻿using Zhp.Model.Chat;
using Zhp.Model.Common;

namespace Zhp.IService.Chat
{
    public interface IChatMessageService
    {
        Task<(List<ChatMessageModel>, bool)> GetChatMessageListByUserId(QueryChatMessage query);
        Task<List<ChatMessageModel>> GetChatMessageNoReadList();
        Task<bool> UpdateMsgReaded(long msgId);
        Task<bool> Create(ChatMessageModel user);
        Task<ObjectRet<SendChatInfoRet>> SendChatCheck(long touserId, int msgCount);
    }
}
